package com.yoga.mapper;

import com.yoga.entity.UserAppeal;
import com.yoga.entity.UserAppealExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserAppealDao {
    long countByExample(UserAppealExample example);

    int deleteByExample(UserAppealExample example);

    int deleteByPrimaryKey(Integer aid);

    int insert(UserAppeal record);

    int insertSelective(UserAppeal record);

    List<UserAppeal> selectByExample(UserAppealExample example);

    UserAppeal selectByPrimaryKey(Integer aid);

    int updateByExampleSelective(@Param("record") UserAppeal record, @Param("example") UserAppealExample example);

    int updateByExample(@Param("record") UserAppeal record, @Param("example") UserAppealExample example);

    int updateByPrimaryKeySelective(UserAppeal record);

    int updateByPrimaryKey(UserAppeal record);
}